<?php

function indexPermissao($per)
{
    $result =array();
    
    unset($per['usuarios']['info-usuario']);
    unset($per['usuarios']['logout']);
    unset($per['manutencoes']['m-manutencoes']);
    
    foreach($per as $p)
    {
        $result = array_merge($result,array_keys($p));
    }
    
    return $result;
}


?>